package model

type Block struct {
	Number   uint64  `gorm:"primaryKey;comment:'区块高度'"`
	Time     uint64  `gorm:"not null;comment:'区块时间'"`
	Hash     string  `gorm:"type:varchar(90);not null;comment:'区块哈希'"`
	TxHash   string  `gorm:"type:varchar(90);not null;comment:'交易根哈希'"`
	Coinbase string  `gorm:"type:varchar(90);not null;comment:'出块节点地址'"`
	Size     float64 `gorm:"not null;comment:'区块大小'"`
}
